package com.sojson.entity.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.sojson.entity.po.Member;
import com.sojson.entity.po.OrderDeposit;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 诚意金订单表Bean
 * 
 * @author liu
 * @date 2021-04-29
 */
@ApiModel("诚意金订单表Bean")
public class OrderDepositVo extends OrderDeposit {

    /***/
    private static final long serialVersionUID = 7537343848238733814L;

    @ApiModelProperty("用户手机号")
    private String mobile;
    @ApiModelProperty("BOSS商家")
    private Member boss;
    @ApiModelProperty("职位名称")
    private String postName;
    @ApiModelProperty("支付密码")
    private String payPwd;
    @ApiModelProperty("是否设为主诚意金订单")
    private Boolean isSetMain;

    /**
     * 获取用户手机号
     */
    @Override
    public String getMobile() {
        return mobile;
    }

    /**
     * 设置用户手机号
     */
    @Override
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    /**
     * 获取BOSS商家
     * 
     * @return
     */
    public Member getBoss() {
        return boss;
    }

    /**
     * 设置BOSS商家
     * 
     * @param boss
     */
    public void setBoss(Member boss) {
        this.boss = boss;
    }

    /**
     * 获取职位名称
     * 
     * @return
     */
    public String getPostName() {
        return postName;
    }

    /**
     * 设置职位名称
     * 
     * @param postName
     */
    public void setPostName(String postName) {
        this.postName = postName;
    }

    /**
     * 获取支付密码
     * 
     * @return
     */
    @JsonIgnore
    @JSONField(serialize = false)
    public String getPayPwd() {
        return payPwd;
    }

    /**
     * 设置支付密码
     * 
     * @param payPwd
     */
    @JsonProperty
    public void setPayPwd(String payPwd) {
        this.payPwd = payPwd;
    }

    /**
     * 获取是否设为主诚意金订单
     * 
     * @return
     */
    public Boolean getIsSetMain() {
        return isSetMain;
    }

    /**
     * 设置是否设为主诚意金订单
     * 
     * @param isSetMain
     */
    public void setIsSetMain(Boolean isSetMain) {
        this.isSetMain = isSetMain;
    }

}